package Demo;

import java.util.Hashtable;
import java.util.concurrent.ConcurrentHashMap;

public class Demo03 {
    public static void main(String[] args) {
        //Hashtable table = new Hashtable();\
        ConcurrentHashMap table = new ConcurrentHashMap();
        table.put("key1", "value1");
        table.put("key2", "value2");
        table.put("key3", "value3");
        table.put("key4", "value4");
        table.put("key5", "value5");
        System.out.println(table);
    }
}
